<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of DocumentosEntregadosService
 *
 * @author MFerreira
 */
class DocumentosEntregadosService extends BaseService {
    //put your code here
    function Update(DocumentosEntregados $Documentos) {
        $serializer = parent::getSerializer(parent::getMimeType(), "Documentos");
        $data = $serializer->serialize($Documentos);
        $response = parent::invokeService("Update", $data);
        return $response;
    }

    function GetById($Id) {
        $response = parent::invokeService("GetId", $Id);
        Loader::using("models::entities::DocumentosEntregados");
        $result = parent::processSingleObjectResponse($response, parent::getMimeType(), "DocumentosEntregados");
        return $result;
    }
}
?>
